import { workspace } from 'vscode';
import { SystemFS } from './system-fs/system-fs';

/**
 * 虚拟文件系统
 *
 * @author chitanda
 * @date 2022-12-14 10:12:42
 * @export
 * @class VirtualFileSystem
 */
export class VirtualFileSystem {
  /**
   * iBizSys 系统文件系统
   *
   * @author chitanda
   * @date 2022-12-14 10:12:55
   */
  readonly sys = new SystemFS();

  constructor() {
    workspace.registerFileSystemProvider('ibizsystem', this.sys, {
      isCaseSensitive: true,
    });
  }
}

export * from './system-fs/entry';
